<?php
/**

 * User:ayou chow
 * Date: 2019-12-09
 * Time: 15:52
 */

namespace app\common\model;


use think\Model;

class BlackIpModel extends Model
{
    public function admin(){
        return $this->hasOne(AdminModel::class,'id','admin_id')->field("id, name as nick_name");
    }
}